package com.filyar.htyd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author filyar
 * @since 2024-10-24
 * @e-mail root@filyar.com
 */
@Getter
@Setter
@TableName("compare_result")
public class CompareResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * A端
     */
    private String a;

    private String compareA;

    /**
     * Z端
     */
    private String z;

    private String compareZ;

    /**
     * A端相同字符数
     */
    @JsonProperty("aLikeCount")
    private Integer aLikeCount;

    /**
     * Z端相同字符数
     */
    @JsonProperty("zLikeCount")
    private Integer zLikeCount;

    /**
     * A端相似率
     */
    @JsonProperty("aLikePercent")
    private Double aLikePercent;

    /**
     * Z端相似率
     */
    @JsonProperty("zLikePercent")
    private Double zLikePercent;

    /**
     * 批次号
     */
    private String serialNumber;

    /**
     * 生成时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 操作人
     */
    private String operatorName;


}
